Skip to content

Instantly share code, notes, and snippets.

@Jason-Clark-FG
Jason-Clark-FG / Uninstall-VMwareTools.ps1
Last active February 27, 2026 05:28
A quick update to the gist at https://gist.github.com/KGHague/2c562ee88492c1c0c0eac1b3ae0fecd8 to incorporate the additional suggestions
<#
.SYNOPSIS
Uninstalls VMware Tools using the MSI installer method.
.DESCRIPTION
This script modifies the VMware Tools MSI database to bypass environment checks
that prevent uninstallation on non-VMware systems, then performs an uninstall.
.PARAMETER Uninstall
Actually perform the uninstall. Without this switch, the script runs in dry-run mode.
.PARAMETER Force
Bypass the confirmation prompt and proceed with uninstallation automatically.
<#
.SYNOPSIS
Uninstalls and removes VMware Tools from a Windows system.
.DESCRIPTION
This script first attempts to uninstall VMware Tools using the MSI installer method,
even if the system is no longer running on VMware. It then performs a comprehensive
cleanup by removing registry entries, filesystem folders, services, and devices.
WARNING: If running this script on a system that has been migrated to a different
hypervisor (e.g., Proxmox with VirtIO drivers), removing VMware storage drivers may
@Jason-Clark-FG
Jason-Clark-FG / Remove-VMwareTools.ps1
Last active February 27, 2026 05:28
A quick refomatting of the gist at https://gist.github.com/broestls/f872872a00acee2fca02017160840624 with the additional suggestions incorporated
<#
.SYNOPSIS
Removes VMware Tools from a Windows system.
.DESCRIPTION
This script removes VMware Tools from a Windows system by deleting registry entries,
filesystem folders, and stopping/removing associated services.
.PARAMETER Force
Bypass the confirmation prompt and proceed with removal automatically.
.EXAMPLE
.\Remove-VMwareTools.ps1
@Jason-Clark-FG
Jason-Clark-FG / Cleanup-VMwareToolsRemote.ps1
Last active February 27, 2026 05:28
An attempt to merge the modified msi removal with the forced removal/cleanup from https://gist.github.com/KGHague/2c562ee88492c1c0c0eac1b3ae0fecd8 and https://gist.github.com/broestls/f872872a00acee2fca02017160840624 with the ability to run remotely
<#
.SYNOPSIS
Uninstalls and removes VMware Tools from remote Windows systems.
.DESCRIPTION
This script uses PowerShell remoting to execute VMware Tools cleanup on one or more
remote computers. It first attempts to uninstall VMware Tools using the MSI installer
method, then performs comprehensive cleanup by removing registry entries, filesystem
folders, services, and devices.
WARNING: If running this script on a system that has been migrated to a different
@docularxu
docularxu / blog-claude-code-china.md
Last active February 27, 2026 05:26
How I Got Claude Code Working in China β€” What Works and What Doesn't

How I Got Claude Code Working in China β€” What Works and What Doesn't

February 12, 2026

If you're a developer in China trying to use Claude Code, you've probably hit the 403 wall. This guide covers how to get it working in three scenarios:

  1. macOS Terminal (shell) - using claude CLI directly in your terminal
  2. VS Code Terminal - using claude CLI inside VS Code's integrated terminal
  3. VS Code Claude Code Extension - using the Claude Code chat panel (installed as a VS Code extension)
@FreddieOliveira
FreddieOliveira / docker.md
Last active February 27, 2026 05:22
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android πŸ‹πŸ“±

Edit πŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@mlbonniec
mlbonniec / blender.py
Last active February 27, 2026 05:21
From F1 Telemetry Data to 3D Race Tracks in Blender
import requests
import json
import bpy, bmesh
from mathutils import Vector
# Define the API endpoint
URL = "https://api.openf1.org/v1/location"
PARAMS = {
"session_key": 9094, # Example: 2023 Monaco GP
"driver_number": 1, # Example: Driver #1
@maddie-jones
maddie-jones / SKILL.md
Last active February 27, 2026 05:18
Claude Code /analyze skill - multi-perspective PR analysis (Jira completeness, Ruby best practices, principal engineer feedback, junior clarity, RSpec hygiene)
name description
analyze
Deep analysis of a GitHub PR - checks Jira story completeness, Ruby/SRP best practices, principal engineer feedback, and junior engineer clarity. Use when given a GitHub PR URL to analyze.

PR Analyzer

Performs a multi-perspective analysis of a GitHub pull request by launching 5 parallel subagents, then synthesizing their findings into a single cohesive report.

Input

@CodeLeom
CodeLeom / AGENT.𝗺𝗱
Last active February 27, 2026 05:17
Best practices and workflows to use with an AI agent on any project
## Workflow Orchestration
### 1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately
- Don't keep pushing.
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity
### 2. Subagent Strategy
@Jamesits
Jamesits / MacType-James.ini
Last active February 27, 2026 05:16
My MacType profile, optimized for Telegram UWP and something else.
; Please see https://gist.github.com/Jamesits/6a58a1b08d5cd09a94a02f30ddaf0e13#gistcomment-2081294
; for instruction.
; Author: James Swineson <mactype@public.swineson.me>
[General]
Name=James Profile
; 【启用 DirectWrite ζ”―ζŒγ€‘
; [0:Disable] 1:Enable
DirectWrite=1